import time

from selenium import webdriver
from selenium.webdriver.common.by import By
driver= webdriver.Edge()
driver.get("http://localhost/index.php/Home/User/login.html")
driver.find_element(By.CSS_SELECTOR, "#username").send_keys("13522221212")
driver.find_element(By.CSS_SELECTOR, "#password").send_keys("123456")
time.sleep(2)
driver.find_element(By.CSS_SELECTOR, "#verify_code").send_keys("8888")
time.sleep(2)
driver.find_element(By.CSS_SELECTOR, "a[name='sbtbutton']").click()

time.sleep(10)
driver.quit()